<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ page import="com.zmx.holiday.user.model.*"%>
<%String menu="3"; %>
<%@ include file="/head.jsp" %>
<div id="main">
		<div id="main_banner"></div>
		<div id="left">
			<div id="reg_left">
			<div class="list-top">&nbsp;</div>
				<ul class="service-list">
					<li><a href="/registry/home_registry.jsp">注册店铺</a></li>
					<li><a href="/reg/homeSelect.action?userID=<%=userID %>">注册客房</a></li>
					<li><a href="/inte/homeManagerList.action?userID=<%=userID %>">店铺维护</a></li>
					<li><a href="/inte/roomManagerList.action?userID=<%=userID %>">客房维护</a></li>
				</ul>
				<div class="list-top yellow">&nbsp;</div>
				<ul class="service-list yellow">
					<li><a href="/inte/photoShow.action?roomID=<s:property value='roomID'/>">客房图片管理</a></li>
					<li><a href="/reg/roomUpdateShow.action?roomID=<s:property value='roomID'/>">修改客房信息</a></li>
				</ul>
			</div>
			<div id="reg_right">
				<s:form action="roomUpdate" namespace="/reg" validate="true" theme="simple" method="post"  enctype="multipart/form-data">
				<input name="userID" type="hidden" value="<%=userID%>">
				<input name="roomID" type="hidden" value="<s:property value='roomInfo.roomID'/>">
				<input name="roomInfo.roomDetailID" type="hidden" value="<s:property value='roomInfo.roomDetailID'/>">
				<div class="title"><h3>注册客房基本信息</h3></div>
				<div class="info-words">
					<table border="0" cellspacing="1" cellpadding="0">
	                    <tr>
	                      <th>客房名称：</th>
	                      <td><s:textfield name="roomInfo.roomName" size="38"/></td>
	                    </tr>
	                    <tr>
	                      <th>客房照片：</th>
	                      <td><s:file name="roomInfo.roomPic" size="38"/></td>
	                    </tr>
	                    <tr>
	                      <th>客房类型：</th>
	                      <td>
	                      	<select name="roomInfo.roomType">
								<option>===请选择===</option>
								<option>套房</option>
								<option>豪华套房</option>
								<option>单人间</option>
								<option>标准间</option>
								<option>三人间</option>
								<option>其他</option>
							</select>
	                      </td>
	                    </tr>
	                    <tr>
	                      <th>客房价格：</th>
	                      <td><s:textfield name="roomInfo.roomPrice" size="31"/>
	                          <select name="roomInfo.roomPriceType">
	                            <option>/人</option>
	                            <option>/天</option>
	                            <option>/周</option>
	                            <option>/月</option>
	                            <option>/季</option>
	                            <option>/年</option>
	                          </select>
	                      </td>
	                    </tr>
	                    <tr>
	                      <th>旅游专题：</th>
	                      <td>
	                      	<select name="roomInfo.roomHolidayType">
								<option>===请选择===</option>
								<option>沙滩专题</option>
								<option>温泉专题</option>
								<option>草原专题</option>
								<option>滑雪专题</option>
								<option>其他专题</option>
							</select>
	                      </td>
	                    </tr>
	                    <tr>
	                      <th>客房面积：</th>
	                      <td><s:textfield name="roomInfo.roomArea" size="38"/></td>
	                    </tr>
	                    <tr>
	                      <th>房间数量：</th>
	                      <td><s:textfield name="roomInfo.roomNum" size="38"/></td>
	                    </tr>
	                    <tr>
	                      <th>客房介绍：</th>
	                      <td><s:textarea name="roomInfo.roomDes"/></td>
	                    </tr>
	                  </table>
				</div>
				<div class="title"><h3>注册客房设施信息</h3></div>
				<div class="info-words bottom">
					<table border="0" cellspacing="1" cellpadding="0">
						<tr><th>基本设施：</th>
							<td>
								<table class="sheshireg" border="0" cellspacing="0" cellpadding="0" style="width:330px;";>
								  <tr>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomTV" theme="simple"/>电视机</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomAir" theme="simple"/>空调</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomSepToilet" theme="simple"/>独立卫生间</td>
									
								  </tr>
								  <tr>
								  	<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomPubToilet" theme="simple"/>公共卫生间</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomBath" theme="simple"/>热水器</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomInternet" theme="simple"/>宽带</td>
									
								  </tr>
								  <tr>
								  	<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomWashMac" theme="simple"/>洗衣机</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomFridge" theme="simple"/>冰箱</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomPhone" theme="simple"/>电话</td>
									
								  </tr>
								  <tr>
								  	<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomSofa" theme="simple"/>沙发</td>
									<td style="padding:3px 0px;"><s:checkbox name="roomDetail.roomWater" theme="simple"/>饮水机</td>
									<td style="padding:3px 0px;"></td>
								  </tr>
								</table>
							</td>
						</tr>
						<tr><th>其他配套设施：</th><td><s:textarea name="roomDetail.roomOtherFacilties"/></td></tr>
						<tr><th>其他客房信息：</th><td><s:textarea name="roomDetail.roomDes"/></td></tr>
					</table>
				</div>
				<div id="login_btn">
					<a href="javascript:roomUpdate.submit()">注册服务信息</a>
					<a href="/reg/roomUpdateShow.action?roomID=<s:property value='roomID'/>">重新填写</a>
				</div>
				</s:form>
			</div>
		</div>	
		<%@ include file="/integration/list_right.jsp" %>
</div>
<%@ include file="/foot.jsp" %>